package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;

public class ProductInfo {
    @Id
    @Column(name = "productId")
    @ApiModelProperty( value="商品Id")
    private Integer productId;

    @Column(name = "productName" )
    @ApiModelProperty( value="商品名称")
    private String productName;

    @Column(name = "formatName" )
    @ApiModelProperty( value="商品规格")
    private String formatName;

    @Column(name = "product_price" )
    @ApiModelProperty( value="单价")
    private Double productPrice;

    @Column(name = "productNum" )
    @ApiModelProperty( value="商品库存")
    private Integer productNum;

    @Column(name = "productUnit" )
    @ApiModelProperty( value="商品单位")
    private String productUnit;

    @Column(name = "productImg" )
    @ApiModelProperty( value="商品图片")
    private String productImg;



    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public String getFormatName() {
        return formatName;
    }

    public void setFormatName(String formatName) {
        this.formatName = formatName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }
}
